
function Login(state,action) {

    console.log('loginIn-reducer');

    switch (action.type) {
        case "login_finish":
            return {
                status:'login_finish',
            };
        case 'login_error':
            return {
                status:'login_error',
            };
        case 'login_loading':
            return {
                status:'login_ing',
            }
        default:
            return {
                status:'login_default',
            }
    }
}
module.exports = {Login};
